package com.waypolice.manager.service;

import com.waypolice.common.pojo.AppraisalItemResult;
import com.waypolice.common.pojo.TaotaoResult;
import com.waypolice.pojo.*;

import java.util.List;
import java.util.Map;

/**
 * 档案鉴定接口
 * @author zhangruyi
 * @create 2019-03-12 14:28
 * @desc
 **/
public interface ArcAppraisalService {

    List<CmsJudVolume> selectVolumeByVolId(Long aLong);

    List<CmsJudItem> selectItemByItemId(Long aLong);

    List<Map<String,Object>> findArchiveTypeByArchiveNum(String itemId);

    long findItemNumById(String id);

    TaotaoResult inserAppraisalMessage(String apprCode, String apprApartment, String apprPerson, String apprDate, String volId, String itemId, String arcType, String apprArcview, String apprPersonview, String apprExportsview, String apprLeaderview,String apprScope,String apprResult,String nextDeadline,String apprOldDate,String apprRemarks);

    TaotaoResult updateAppraisalMessage(String apprId, String apprCode, String apprApartment, String apprPerson, String apprDate, String volId, String itemId, String arcType, String apprArcview, String apprPersonview, String apprExportsview, String apprLeaderview,String apprScope,String apprResult,String nextDeadline,String apprOldDate,String apprRemarks);

    List<CmsAppraisal> selectAllAppraisal();

    CmsAppraisal loadApprMessageByApprId(String apprId);

    TaotaoResult updateAppraisalResultMessage(String apprId, String apprCode, String apprApartment, String apprPerson, String apprDate, String apprArcview, String apprPersonview, String apprExportsview, String apprLeaderview,String apprScope,String apprResult,String nextDeadline,String apprOldDate,String apprRemarks);

    List<CmsSinItem>  selectSinItemByItemId(Long aLong);

    List<AppraisalItemResult> selectAllNeedAppraisalArc();
}
